package com.ruoyi.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 销售订单对象 hh_order
 * @author chongjin
 * @date 2020-11-18
 */
public class HhOrder extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 订单号
     */
    @Excel(name = "订单号")
    private String orderId;

    /**
     * 水电师傅
     */
    @Excel(name = "水电师傅")
    private Long workerId;

    /**
     * 水电师傅名称
     */
    private String workerName;

    /**
     * 客户
     */
    @Excel(name = "客户")
    private Long consumerId;

    /**
     * 客户名称
     */
    private String consumerName;

    /**
     * 联系方式
     */
    private String phoneNumber;

    /**
     * 总价
     */
    @Excel(name = "总价")
    private String totalMoney;

    /**
     * 结算单欠款
     */
    private String orderDebt;

    /**
     * 结算单号
     */
    private String closeOrder;

    /**
     * 状态
     */
    @Excel(name = "状态")
    private String orderStatus;
    /**
     * 付款状态
     */
    private String orderSale;
    /**
     * 订单类型
     */
    private String orderType;
    /**
     * 删除
     */
    private Long isDel;

    /**
     * 开单时间
     */
    private String orderDate;

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setWorkerId(Long workerId) {
        this.workerId = workerId;
    }

    public Long getWorkerId() {
        return workerId;
    }

    public void setConsumerId(Long consumerId) {
        this.consumerId = consumerId;
    }

    public Long getConsumerId() {
        return consumerId;
    }

    public void setTotalMoney(String totalMoney) {
        this.totalMoney = totalMoney;
    }

    public String getTotalMoney() {
        return totalMoney;
    }

    public void setOrderStatus(String orderStatus) {
        this.orderStatus = orderStatus;
    }

    public String getOrderStatus() {
        return orderStatus;
    }

    public void setOrderSale(String orderSale) {
        this.orderSale = orderSale;
    }

    public String getOrderSale() {
        return orderSale;
    }

    public void setIsDel(Long isDel) {
        this.isDel = isDel;
    }

    public Long getIsDel() {
        return isDel;
    }

    public void setOrderDate(String orderDate) {
        this.orderDate = orderDate;
    }

    public String getOrderDate() {
        return orderDate;
    }

    public String getWorkerName() {
        return workerName;
    }

    public void setWorkerName(String workerName) {
        this.workerName = workerName;
    }

    public String getConsumerName() {
        return consumerName;
    }

    public void setConsumerName(String consumerName) {
        this.consumerName = consumerName;
    }

    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public String getOrderDebt() {
        return orderDebt;
    }

    public void setOrderDebt(String orderDebt) {
        this.orderDebt = orderDebt;
    }

    public String getCloseOrder() {
        return closeOrder;
    }

    public void setCloseOrder(String closeOrder) {
        this.closeOrder = closeOrder;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("orderId", getOrderId())
                .append("workerId", getWorkerId())
                .append("consumerId", getConsumerId())
                .append("totalMoney", getTotalMoney())
                .append("orderStatus", getOrderStatus())
                .append("orderSale", getOrderSale())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .append("isDel", getIsDel())
                .append("orderDate", getOrderDate())
                .toString();
    }
}
